package com.ruoyi.project.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 电子狗订单对象 sys_dog_order
 *
 * @author ruoyi
 * @date 2020-08-04
 */
public class SysDogOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单id */
    private Long orderId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 订单编号（雪花算法） */
    @Excel(name = "订单编号", readConverterExp = "雪=花算法")
    private String orderNo;

    /** 狗狗现有价格 */
    @Excel(name = "狗狗现有价格")
    private Long dogNowPrice;

    /** 狗狗价格的上限 */
    @Excel(name = "狗狗价格的上限")
    private Long dogPriceUp;

    /** 狗狗现有价格加 */
    @Excel(name = "狗狗是否分裂")
    private Long dogIsFenlie;

    /** 狗狗的利率 */
    @Excel(name = "狗狗的利率")
    private Long dogRate;

    /** 狗狗的天数 */
    @Excel(name = "狗狗的天数")
    private Long dogDays;

    /** 收益状态--0收益中；1已完成 */
    @Excel(name = "收益状态--0收益中；1已完成")
    private Long status;

    /** 转让状态--0待转让；1转让中；已完成 */
    @Excel(name = "转让状态--0待转让；1转让中；2已完成")
    private Long zrStatus;

    /** 狗狗的名称 */
    @Excel(name = "狗狗的名称")
    private String dogName;

    /** 数据是否有效--0有效1无效 */
    @Excel(name = "数据是否有效--0有效1无效")
    private Long valid;

    public void setOrderId(Long orderId)
    {
        this.orderId = orderId;
    }

    public Long getOrderId()
    {
        return orderId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setOrderNo(String orderNo)
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo()
    {
        return orderNo;
    }
    public void setDogNowPrice(Long dogNowPrice)
    {
        this.dogNowPrice = dogNowPrice;
    }

    public Long getDogNowPrice()
    {
        return dogNowPrice;
    }
    public void setDogPriceUp(Long dogPriceUp)
    {
        this.dogPriceUp = dogPriceUp;
    }

    public Long getDogPriceUp()
    {
        return dogPriceUp;
    }
    public void setDogIsFenlie(Long dogIsFenlie)
    {
        this.dogIsFenlie = dogIsFenlie;
    }

    public Long getDogIsFenlie()
    {
        return dogIsFenlie;
    }
    public void setDogRate(Long dogRate)
    {
        this.dogRate = dogRate;
    }

    public Long getDogRate()
    {
        return dogRate;
    }
    public void setDogDays(Long dogDays)
    {
        this.dogDays = dogDays;
    }

    public Long getDogDays()
    {
        return dogDays;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }
    public void setZrStatus(Long zrStatus)
    {
        this.zrStatus = zrStatus;
    }

    public Long getZrStatus()
    {
        return zrStatus;
    }
    public void setDogName(String dogName)
    {
        this.dogName = dogName;
    }

    public String getDogName()
    {
        return dogName;
    }
    public void setValid(Long valid)
    {
        this.valid = valid;
    }

    public Long getValid()
    {
        return valid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderId", getOrderId())
            .append("userId", getUserId())
            .append("orderNo", getOrderNo())
            .append("dogNowPrice", getDogNowPrice())
            .append("dogPriceUp", getDogPriceUp())
            .append("dogIsFenlie", getDogIsFenlie())
            .append("dogRate", getDogRate())
            .append("dogDays", getDogDays())
            .append("status", getStatus())
            .append("zrStatus", getZrStatus())
            .append("dogName", getDogName())
            .append("valid", getValid())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
